package com.hushui.mall.order.dao;

import com.hushui.mall.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单
 * 
 * @author hwh
 * @email sunlightcs@gmail.com
 * @date 2023-03-15 16:39:41
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {
    /**
     * 修改订单状态
     * @param orderSn
     * @param code
     * @param payType
     */
    void updateOrderStatus(String orderSn, Integer code, Integer payType);
}
